package com.yq.core.json;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * 信  息: [yinquan] [2017-05-04] [1.1]
 * 描  述: SysUser 配置信息
 */

@SuppressWarnings({ "unused" })
public class SysUserData {

    private static Logger logger = LoggerFactory.getLogger(SysUserData.class);

	// 配置信息
	public static String config() {
		// 需要校验字段
		String str = "{" +
			"cd_code_insert_init:{" +
				"" +
			"}," +
			"cd_code_update_init:{" +
				"verify:{}," +
			"}," +
			"cd_code_insert_init:{" +
				"verify:{}," +
			"}," +

			"cd_code_search_load:{" +
			"}," +
			"cd_code_insert_exec:{" +
			"}," +
			"cd_code_update_exec:{" +
				"verify:{}," +
			"}," +

			"cd_code_delete_exec:{" +
				"verify:{}," +
			"}," +

			"entity:{" + // 表名
				"name:'sys_user'," +
				"id:'uid'," +

				"insert:{ deleteStatus:'0', lockStatus:'0' }," + // 新增：默认赋值字段
				"update:{ updateAt:'VALUE_NOW', qq:'VALUE_NULL' }," + // 修改：默认赋值字段
				"delete:{ deleteStatus:'1' }," + // 删除：默认复制字段
				"ignore:{ class:true }," + // 可以忽略的字段

				"select:{ deleteStatus:'0' }," + // 查询的默认值 - 单表查询
			"}" +

		"}";

		return str;
	}
}
